<?php

class Dietas extends CI_Controller {
	
	public function __construct() {
		parent::__construct();
	}
	
	public function index(){
		$this->load->model('Nutritionist','n');
		$this->n->logged();

		$data['title'] = 'Dietas';
		$data['email_n'] = $this->session->userdata('email_n');

		$this->load->model('Patient','p');
		$data['all_p'] = $this->p->get_patient_all();
		
		$this->load->model('Food','f');
		$data['all_f'] = $this->f->get_food_measure_all();
		
		$this->load->model('Time','t');
		$data['all_t'] = $this->t->get_time_all();
		
		$this->load->view('area_admin/dietas_view', $data);		
	}
}

/* End of file alimentos.php */
/* Location: ./application/controllers/area_admin/alimentos.php */